<?php
class BbsMemberFields extends CActiveRecord {

	public static function model($className = __CLASS__) {
		return parent::model($className);
	}

	public function rules() {
		return array(
			array('qq', 'numerical', 'message' => '请输入正确的 QQ 号码。'),
			array('site', 'url', 'message' => '请填写正确格式的 URL 地址。')
		);
	}


//	public function relations() {
//		return array(
//		);
//	}

	public function tableName() {
		return 'xinli_memberfields';
	}
}